package cn.com.api.service;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_token;
import cn.com.api.entity.ApiToken;

@Service
public interface ApiTokenService {

	public boolean addToken(ApiToken token);

	public boolean updateToken(ApiToken token);

	public boolean updateTokenByOpenId(ApiToken token);

	public ApiToken searByOpenId(String openid);

}
